package com.ssqdx.demo02;

/**
 * @author asus
 * @date 2021/6/8 08:44:19
 * @description
 */
public class UserServiceProxy implements Userservice {

    private UserserviceImpl userservice;

    public UserServiceProxy(UserserviceImpl userservice) {
        this.userservice = userservice;
    }

    public void add() {
        System.out.println("使用了add方法");
        userservice.add();
    }

    public void delete() {

    }

    public void update() {

    }

    public void query() {

    }
}
